#ifndef SERVICEWIDGET_H
#define SERVICEWIDGET_H

#include "ui_servicewidget.h"

#include <qdockwidget.h>

//class HttpLikeService;
class Service;

class ServiceWidget : public QDockWidget, public Ui_serviceWidget
{
    Q_OBJECT

public:

    ServiceWidget(QWidget *parent);

    ~ServiceWidget();

    void startHttpServer();

    void stopHttpServer();

    bool isHttpServerRunning();


public slots:

    void doAction();

private:

    Service *m_httpServer;

    bool m_runningFlag;

};

#endif
